import request from '@/utils/request'

//获取产线ip数据
export function qmsbasecameralineipbyid(id) {
    return request({
        url: `/api/system/qmsbasecameralineip/${id}`,
        method: 'GET',
		options: {
			load: false
		}
    })
}
//获取产线IP分组
export function GroupList(data) {
    return request({
        url: `/api/system/qmsbasecameralineip/GroupList`,
        method: 'GET',
		data,
		options: {
			load: false
		}
    })
}
// 获取产线ip数据
export function qmsbasecameralineip(data) {
    return request({
        url: `/api/system/qmsbasecameralineip`,
        method: 'GET',
        data,
		options: {
			load: false
		}
    })
}

// 获取摄像记录
export function qmsbusicameraorder(data) {
    return request({
        url: `/api/system/qmsbusicameraorder`,
        method: 'GET',
        data,
		options: {
			load: false
		}
    })
}

// 开启主摄
export function updateqmsbusicameraorder(data) {
    return request({
        url: `/api/system/qmsbusicameraorder`,
        method: 'PUT',
        data
    })
}
// 开启副摄
export function addqmsbusicameraorder(data) {
    return request({
        url: '/api/system/qmsbusicameraorder',
        method: 'POST',
        data
    })
}
